﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 用户管理系统.page {
    public partial class FRegister : Form {
        public FRegister() {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e) {
            var no=Txt_No.Text;
            var pwd=Txt_Pwd.Text;
            var pwd_confirm=Txt_Pwd_Confirm.Text;
            if (!Check.CheckEmpty("账号", no)) {
                return;
            }

            if (!Check.CheckEmpty("密码", pwd)) {
                return;
            }
            if (pwd != pwd_confirm) {
                Tip.Confirm("密码不一致");
                return;
            }
        }
    }
}
